package com.imooc.service;

import com.imooc.dto.OrderDTO;
import com.lly835.bestpay.model.PayResponse;
import com.lly835.bestpay.model.RefundResponse;

/**
 * 支付接口
 */
public interface PayService {
    //创建下单
    PayResponse create(OrderDTO orderDTO);
    //通知
    PayResponse notify(String notifyData);
    //退款
    RefundResponse refund(OrderDTO orderDTO);
}
